import request from '@/utils/request'

const pref = '/sysBank'

export const getPage = (param) => {
  return request.post(pref + '/getPage', param)
}

export const deleteById = (id) => {
  return request.delete(pref + '?id=' + id)
}

export const save = (param) => {
  return request.post(pref, param)
}

export const getOne = (id) => {
  return request.get(pref + '?id=' + id)
}
